ON_SEARCH_SECRETDOORS
ON_SEARCH_SECRETDOORS
This Event is triggered upon the first search for Secret Doors by any hero. If the marker is in a Room, it is executed when a search is performed in that room; if it is in a Corridor, it is executed when a search is performed and the marker is in the line of sight of the hero performing the search.
NOTE: For this Event, the REPEAT option can be specified.
Attention: If this event exists, the normal search for secret doors is not executed, and therefore the presence of any secret doors is not automatically shown.
- Example 1:
{[[(J), ON_SEARCH_SECRETDOORS:REPEAT]] You don’t found any secret door but it seems that there was an entrance in a wall in the past, now covered with rocks}
- Example 2:
{[[(J), ON_SEARCH_SECRETDOORS]] You found a passage hidden between two tiles in the wall [[SHOW(G9) ]]}
ON_SEARCH_SECRETDOORS
event with the SHOW
action to display the message and reveal the secret door at cell coordinates G9. Note that each hidden door refers to two cells (the two connected by the door). Therefore, in Example 2, it would also have been correct and equivalent to use SHOW(G10)
instead of SHOW(G9)
.